<template>
	<view class="bg-white">
		<cu-custom bgColor="bg-white" :isBack="true">
			<block slot="back">返回</block>
			<block slot="content">{{art.title}}</block>
		</cu-custom>
		<view class="bcf pad5 text-black" v-if="$com.isbool(art)">
			<view v-html="art.content">
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				code:'',
				art:{
					title:"单页",
					content:'加载中'
				}
			}
		},
		methods: {
			
		},
		onLoad(option) {
			console.log(option)
			let _this = this
			this.$api.get("/api/get_page",{code:option.code},function(res){
				console.log(res)
				_this.art = res.d
			})
		}
	}
</script>

<style>

</style>
